/* 本地java 方法调用 */

var nativeWriteLog = function(str) {
	app.writeLog(str);
}

var nativePrint = function(str) {
	return app.printBatch(str);
}

var nativePrintTest = function(name) {
	app.printTest(name);
}

var nativeSaveUserInfo = function(str) {
	app.loginSuccess(str);
}

var nativeLoginOut = function() {
	app.loginOut();
}

var nativeGetPrinter = function() {
	return app.getPrinter();
}

var nativeSetPrinter = function(str) {
	return app.setPrinter(str);
}


var nativeGetPrintResult = function() {
	return app.getPrintResult();
}
